package us.kg.kotoriforest.spring.config;

import org.springframework.context.annotation.Bean;
import us.kg.kotoriforest.spring.pojo.Car;

/**
 * @author Kotori rotroutine@163.com
 * @since 2025/1/25
 */
public class CarConfig {

    // @ConditionalOnResource(resources = "classpath:car.properties")
    // @ConditionalOnMissingBean(name = "LeiJun", value = User.class)
    // @Primary 优先注入 可以解决多个实现类的注入问题
    @Bean
    public Car su7() {
        return new Car();
    }
}
